package com.hdy.service.impl;

import com.hdy.pojo.User;
import com.hdy.mapper.UserMapper;
import com.hdy.service.UserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 大大怪将军
 * @since 2022-08-07
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
    @Resource
    UserService userService;
    public User test(){
        User byId = userService.getById(1);

        return byId;
    }
}
